package cn.edu.zut.DAO;

import cn.edu.zut.model.Student;

import java.util.List;

public interface StudentDAO {

    void insertStudent(Student student);
    void insertAll(List<Student> studentList);

    void deleteStudent(Student student);
    void deleteAll(List<Student> studentList);
    void deleteById(String id);

    void modifyStudent(Student student);

    Student queryOneStudent(Student student);
    Student queryOneStudentById(String id);
    List<Student> queryAll();


}
